<html>
	<head>
		<meta charset="utf-8">
		<script src="../../js/vue.min.js"></script>
	</head>
	<body>
		
<div id="app">
	{{getData()}}   {{funA()}}
</div>
<script type = "text/javascript">
	 new Vue({
	   el: '#app',
	   data() {
		 return {
		   info: null
		 }
	   },
		methods: {
		   getData() {
			alert("函数定义的第一种写法");
		   },  //函数之间用,号隔开
		  
		   funA:function(){
			alert("函数定义的第二种写法");
		   }  
		  
		  
		}
	 })
	 </script>		
		
		
	</body>